package edu.sctu.practice.class01.lili.test08;

/**
 * Created by Administrator on 2015/10/11 0011.
 */
public class Main {

    public static void main(String[] args) {

        Vehicles vehicles = new Vehicles("LandRover","white");
        vehicles.showInfo();
        vehicles.run();

        Car car = new Car("Lincon","yellow",5);
        car.showCar();
        car.run();

        Truck truck = new Truck("Wuling","blue",5.2f);
        truck.showTruck();
        truck.run();

    }
}
